public class CastAri {
    public static void main(String[] args) {
        System.out.println("强制类型转换:");
        int a, b, m = 25, n = 7;
        double x= 25.0, y= 7.0, z;
        a = m / n;
        System.out.println( m + "/" + n + " = " + a) ;
        z = x / y;
        System.out.println(x +"/"+ y + "= " + z);
        b = (int)(x / y);
        System. out. println("int(" + m + "/" +n + ")= " + b);
    }
}
